package com.example.xpvideo.entity;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 优惠券作用商品(LsCouponGoods)实体类
 *
 * @author 
 * @since 2021-09-23 10:40:26
 */
@ApiModel("优惠券作用商品")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class LsCouponGoods implements Serializable {
    private static final long serialVersionUID = 165770164711289659L;
        /**
    *主键
    * ${column.comment}
    * isnull 1
    */
    @ApiModelProperty(value="$column.comment",position=1)
    private Integer id;

    /**
    * 优惠券id
    * isnull 0
    */        @ApiModelProperty(value="优惠券id",position=2)
    private Integer couponId;
    /**
    * 商品id
    * isnull 0
    */        @ApiModelProperty(value="商品id",position=3)
    private Integer goodsId;
    /**
    * 创建时间
    * isnull 0
    */        @ApiModelProperty(value="创建时间",position=4)
    private Integer createTime;
        
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
        
    public Integer getCouponId() {
        return couponId;
    }

    public void setCouponId(Integer couponId) {
        this.couponId = couponId;
    }
        
    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }
        
    public Integer getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Integer createTime) {
        this.createTime = createTime;
    }

        @Override
    public String toString() {
        return "{" +
                    " \"id\":" + id +
                                  " ,\"couponId\":" + couponId +
                            " ,\"goodsId\":" + goodsId +
                            " ,\"createTime\":" + createTime +
                  '}';
    }


}
